Skip to main content

Get All Faucets

Queries the link to the faucet for testnet for the chains integrated with euclid.

query Get_all_faucets {
token {
get_all_faucets {
token
faucet_link
}
}
}

Example

curl --request POST \
    --header 'content-type: application/json' \
    --url 'https://api.euclidprotocol.com/graphql' \
    --data '{"query":"query Token {\n  token {\n    get_all_faucets {\n      faucet_link\n      token\n    }\n  }\n}"}'

Open in Playground

Return Fields

FieldTypeDescription
tokenStringThe identifier of the token associated with the faucet.
faucet_linkStringThe URL link to the faucet for obtaining testnet tokens.